package com.interview.ujiuye5;

public class Sub extends Base {
    private String baseName = "sub";
    private static String testName = "TestSub";
    {
         baseName = "第三次赋值";
    }
    public Sub(){
        super();
        System.out.println("1111");
        this.baseName = "第四次赋值";
    }

    public void callName() {
        System.out.println("444444");
        System.out.println("Sub=="+baseName);
    }

    public static void main(String[] args) {
        Sub base = new Sub();
        System.out.println(base.baseName);
    }
}